<div class="action-dialog-model-fixed-body">
	<div class="detailsBox">
		<div class="openBox">
			<h3>
			<i class="jtIco"></i>添加经销商合作方</h3>
	        <div class="detaiTab">
	        	<form class="action-ajax-form" action="/jxsPartner/rest/add" method="post" id="addForm"  class="action-ajax-form action-ajax-form-valid">
	            <input type="hidden" name="id" value="${vo.id}"></td>
	            <input type="hidden" name="brandId" value="${brandId}"></td>
	            <input type="hidden" name="wfStatus" value="${vo.wfStatus}"></td>
	            <table width="100%" border="0" cellspacing="0" cellpadding="0">
	            	<tbody>
	            		<tr><td align="left" class="bg" width="15%" colspan="4" style="background: #e2e2e2;font-weight: bold;padding-left: 20px;color: #333;font-size: 14px";>申请信息</td></tr>                 
	                    <tr>
	                      	<td align="right" class="bg" width="15%">一批商分类</td>
	                    	<td >
	                    		${batchClassification}
	                    		<input type="hidden" name="batchClassification" value="${batchClassification}"/>
	                    	</td>
	                        <td align="right" class="bg" width="15%">经办人</td>
	                        <td>
	                        	${currentUser}
	                        	<input type="hidden" name="operatorId"  value="${currentUserCode}">
	                        	<input type="hidden" name="operator"  value="${currentUser}">
	                        </td>
	                    </tr>   
	                    <tr>
	                      	<td align="right" class="bg" width="15%">证件号码<span style="color: red;">*</span></td>
	                    	<td colspan="3">
	                    		<input type="text" name="certNo"/>
	                    	</td>
	                    </tr>
	               	</tbody>
	        	</table>
	        	<div class=" mtb20 tac" >
					<input type="submit" class="btn_auto_30 btn_blue" value="查询" onclick="searchByCertNo();"/>
				</div>
				<div class="mt20">
					<@pagination paginationInfo="paginationInfo"/>
				</div>
	        	<#if vo.id??>
		        	<div class="openBox action-ajax-load" data-url="<@url value='/jxsPartner/rest/loadfile?parameter=${vo.id}&wfStatus=${vo.wfStatus}'/>"></div>
		        	<#if vo.wfStatus != -1>
		        		<div class="action-ajax-load detailsBox" data-url="<@url value='${agreeUrl}' />">审核历史加载中。。。</div>
		        	</#if>
	        	</#if>
	        	
	        	<#if vo.wfStatus != 0 && vo.wfStatus != 2>
		        	<div class=" mtb20 tac" >
						<input type="submit" class="btn_auto_30 btn_blue" value="保 存">
						<#if vo.id??>
							<a href="/jxsPartner/rest/delete?partnerId=${vo.id}" class="action-ajax-btn btn_auto_30 btn_blue">删除</a>
							<a href="/jxsPartner/rest/jxsStartFlow?id=${vo.id}" class="action-ajax-btn btn_auto_30 btn_blue">发起流程</a>
			        	</#if>
					</div>
				</#if>
	        </form>
	        </div>
        </div>
	</div>
</div>
<div id="showMsgDiv" class="tcTxt1 smDiv" style="display:none;">
    <div class="tcjz"></div>
</div>
 <script>
	$("#addForm").submit(function(e){
	  return true;
	});
 
 	function searchByCertNo(){
		
	}
	
 	var wfStatus = $('#addForm input[name="wfStatus"]').val() || '-1';
 	if(wfStatus != -1 && wfStatus != 3){
 		$('#addForm input').attr('disabled','disabled');
		$('#addForm textarea').attr('disabled','disabled');
		$('#addForm select').attr('disabled','disabled');
 	}
</script>







